if(window.attachEvent){
	var console = {};
	console.UL = function(){
		this.container = document.body.appendChild(		document.createElement("ul")	);
		this.container.style.cssText="border:2px inset gray;position:absolute;bottom:0;width:100%;height:200px;overflow:auto;margin:0;padding:10px;list-style:none;left:0;";
	}
	console.LI = function(item){
		if(!this.container.firstChild){
			var i = this.container.appendChild(		document.createElement("li")	);
			i.style.cssText="border-bottom:1px solid #ECECEC;";
		}else{
			var i = this.container.appendChild( (this.container.lastChild || this.container.firstChild ).cloneNode() )
		}
		i.innerHTML = item;
	}
	console.log = function(){
		if(!this.container)this.UL();
		for(var i=0,n;n=arguments[i];i++){
			this.LI(n)
		}
		setTimeout(function(){console.container.scrollTop=console.container.scrollHeight;},10)
	}
}